<?php
//用户订单管理模块
class OrderControl extends Control{
// 默认显示的页面
     public function index(){
          $orderData=M('order2')->order('ordertime desc')->all();
          // p($orderData);
          $this->assign('orderData',$orderData);
          $this->display();
     }



}